body {
    margin: 0;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: linear-gradient(-45deg, #ef7777, #78e07b, #dfe27b, #74c5e3, #e57b79, #69a5e0, #e9dd72, #67e06d);
    background-size: 800% 800%;
    animation: gradientBG 10s ease infinite;
}
@keyframes gradientBG {
    0% {background-position: 0% 50%;}
    25% {background-position: 50% 100%;}
    50% {background-position: 100% 50%;}
    75% {background-position: 50% 0%;}
    100% {background-position: 0% 50%;}
}
.usage-tip {
    position: absolute;
    left: 24px;
    top: 18px;
    background: rgba(255,255,255,0.92);
    color: #e50b37;
    font-size: 16px;
    border-radius: 8px;
    padding: 10px 18px;
    box-shadow: 0 2px 8px rgba(224, 4, 4, 0.08);
    z-index: 10;
    max-width: 320px;
    line-height: 1.7;
}
.autor {
    position: absolute;
    left: 1000px;
    top: 60px;
    color: #f3120a;
    margin-top: 22px;
    font-size: 2em;
    letter-spacing: 2px;
    font-weight: bold;
}
.welcome-text {
    text-align: center;
    color: #1976d2;
    margin-top: 22px;
    font-size: 2em;
    letter-spacing: 2px;
    font-weight: bold;
}
.search-bar {
    text-align: center;
    margin: 18px 0 10px 0;
}
#search-content {
    width: 320px;
    height: 36px;
    font-size: 1.1em;
    border-radius: 8px;
    border: 1px solid #bbb;
    padding-left: 10px;
    outline: none;
}
#search-btn {
    height: 38px;
    font-size: 1.1em;
    border-radius: 8px;
    border: 1px solid #1976d2;
    background: #1976d2;
    color: #fff;
    margin-left: 8px;
    cursor: pointer;
    padding: 0 18px;
    transition: background 0.2s;
}
#search-btn:hover {
    background: #1565c0;
}
.map-container {
    position: relative;
    width: 1000px;
    margin: 30px auto;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    border-radius: 12px;
    overflow: hidden;
    user-select: none;
}
.map-img {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    cursor: grab;
    transition: box-shadow 0.2s;
}
.room-dot {
    position: absolute;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
}
.room-dot .dot {
    width: 22px;
    height: 22px;
    background: #e53935;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 0 6px #f90505;
}
.room-dot .label {
    display: block;
    color: #1708e8;
    font-size: 22px;
    font-weight: bold;
    margin-top: 2px;
    text-align: center;
    text-shadow: 1px 1px 2px #fff;
    pointer-events: none;
}
.modal-bg {
    display: none;
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal {
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    width: 90vw;
    padding: 24px 24px 16px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    position: relative;
    animation: popin 0.2s;
    max-height: 80vh;
    overflow-y: auto;
}
@keyframes popin {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal img {
    width: 90%;
    border-radius: 8px;
    margin: 0 auto 16px auto;
    background: #eee;
    display: block; 
}
.modal h2 {
    text-align: center;
    color: #010002;
    font-size: 28px;
    margin-bottom: 28px;
}
.modal p {
    text-align: center;
    color: #010002;
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    line-height: 1.8; 
}
.close-btn {
    position: absolute;
    right: 18px;
    top: 14px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    transition: color 0.2s;
}
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #e3f2fd;
    border: none;
    color: #1976d2;
    font-size: 1.6em;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, color 0.2s;
}
#left-arrow { left: 10px; }
#right-arrow { right: 10px; }
.arrow-btn:hover {
    background: #1976d2;
    color: #fff;
}
@media (max-width: 950px) {
    .map-container { width: 100vw; }
}